<?php
/*	SystemComponent		*/
defined('__EAPI_BASE') or die ("Restricted Access");

class EAPICore {

	protected function getSettings() {
		try{
			$settings = array(
			'dbhost' => 'localhost',
			'dbusername' => 'eveapi',
			'dbpassword' => 'eveapi',
			'dbname' => 'eveapi',
			'eveApiSite' => 'api.eve-online.com',
			'eveApiTime' => 'Y-n-d H:i:s',
			'eveApiDebug' => 'characterWalletJournal'
			);


			//if settings could not be created
			if(!$settings){
				 
				//throw an exception
				throw new EAPIException('Could Not Initiate EAPI Core',600.1);
				 
			}

			return $settings;

		}catch(EAPIException $e){

			print $e;
			die();

		}
		 
	}

};
?>